Ext.application({
	requires:['Ext.container.Viewport'],
	name:'BEST',
	appFolder:jsServer+'/page/app',
	controllers:['MainController','BuildingController','MenuController','DictionaryController',
	             'CmsuserController','RoleController','RoleoperController',
	             'LogoperController','LogloginController','ParamCardController',
	             'ParamReaderController','ParamProtocolController','ParamTradeController'],
	launch:function(){
		Ext.create('Ext.container.Viewport',{
			renderTo:Ext.getBody(),
			layout:'fit',
			items:[
			{xtype:'layout'}
			],
			listeners:{
				afterrender:function(){
					Ext.tip.QuickTipManager.init();
					//Ext.getBody().mask('正在加载系统菜单...');
				}
			}
		})
	}
	
});